package it.uniroma2.structure;

import java.util.Comparator;

public class ComparetorNode implements Comparator<Node>{

	@Override
	public int compare(Node a, Node b) {
		String idA = ((Node)a).getOrderId();
		String idB = ((Node)b).getOrderId();
		return idA.compareTo(idB);
		
	}
	
}
